package com.ruoyi.project.module.wtc.request;

import com.ruoyi.common.core.annotation.Excel;

public class CardSell {

    /** 类型 */
    @Excel(name = "类型",readConverterExp = "0=储值卡,1=次卡")
    private String type;

    /** 卡性质 */
    @Excel(name = "卡性质",readConverterExp = "0=一卡通,1=三倍卡,2=会员优惠卡,3=次卡,4=游泳学员卡,999=小计")
    private String cardNature;

    /** 笔数 */
    @Excel(name = "笔数")
    private int number = 0;

    /** 实收 */
    @Excel(name = "实收")
    private long netReceipts = 0L;

    /** 现金 */
    @Excel(name = "现金")
    private long cash = 0L;

    /** 信用卡 */
    @Excel(name = "信用卡")
    private long bankcard = 0L;

    /** 空格 */
    @Excel(name = "")
    private int zero = 0;

    /** 可消费 */
    @Excel(name = "可消费")
    private long consumableAmount = 0L;

    public CardSell() {
    }

    public CardSell(String type, String cardNature, int number, long netReceipts, long cash, long bankcard, int zero, long consumableAmount) {
        this.type = type;
        this.cardNature = cardNature;
        this.number = number;
        this.netReceipts = netReceipts;
        this.cash = cash;
        this.bankcard = bankcard;
        this.zero = zero;
        this.consumableAmount = consumableAmount;
    }

    public String getType() {
        return type;
    }

    public CardSell setType(String type) {
        this.type = type;
        return this;
    }

    public String getCardNature() {
        return cardNature;
    }

    public CardSell setCardNature(String cardNature) {
        this.cardNature = cardNature;
        return this;
    }

    public int getNumber() {
        return number;
    }

    public CardSell setNumber(int number) {
        this.number = number;
        return this;
    }

    public long getNetReceipts() {
        return netReceipts;
    }

    public CardSell setNetReceipts(long netReceipts) {
        this.netReceipts = netReceipts;
        return this;
    }

    public long getCash() {
        return cash;
    }

    public CardSell setCash(long cash) {
        this.cash = cash;
        return this;
    }

    public long getBankcard() {
        return bankcard;
    }

    public CardSell setBankcard(long bankcard) {
        this.bankcard = bankcard;
        return this;
    }

    public int getZero() {
        return zero;
    }

    public void setZero(int zero) {
        this.zero = zero;
    }

    public long getConsumableAmount() {
        return consumableAmount;
    }

    public CardSell setConsumableAmount(long consumableAmount) {
        this.consumableAmount = consumableAmount;
        return this;
    }

    @Override
    public String toString() {
        return "CardSell{" +
                "type='" + type + '\'' +
                ", cardNature='" + cardNature + '\'' +
                ", number=" + number +
                ", netReceipts=" + netReceipts +
                ", cash=" + cash +
                ", bankcard=" + bankcard +
                ", zero=" + zero +
                ", consumableAmount=" + consumableAmount +
                '}';
    }
}
